home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
Transcript 1.0b1
/
Hello World ƒ
/
HelloWorld.r
< prev
Wrap
Text File
|
1996-06-15
|
1KB
|
37 lines
/***
*
* HelloWorld.r - Demonstrate the Transcript application.
*
* Copyright © 1996 Christopher E. Hyde. All rights reserved.
*
***/
#define SystemSevenOrLater 1
//#include "SysTypes.r"
#include "Types.r"
// Here is the quintessential MultiFinder friendliness device, the SIZE resource
resource 'SIZE' (-1) {
dontSaveScreen,
acceptSuspendResumeEvents,
enableOptionSwitch,
canBackground, // We can background; we don't currently, but our sleep value
// guarantees we don't hog the Mac while we are in the background
doesActivateOnFGSwitch, // We do our own activate/deactivate; don't fake us out
backgroundAndForeground, // This is definitely not a background-only application!
dontGetFrontClicks, // Don’t "do first click" behavior like the Finder
ignoreAppDiedEvents, // Essentially, I'm not a debugger (sub-launching)
is32BitCompatible, // This app may be run in 32-bit address space
isHighLevelEventAware, // Does Post/AcceptHighLevelEvent
localAndRemoteHLEvents, // Allow network events
notStationeryAware, // Doesn’t check stationery bit when opening documents
dontUseTextEditServices, // Can’t use text services through TextEdit
reserved,
reserved,
reserved,
50 * 1024,
50 * 1024
};